function insertHumanType(humanData) {
    const insertFields = [
        ['std_human_id', humanData.stdHumanId],
        ['human_name', `'${humanData.humanName}'`],
        ['human_type_code', `'${humanData.humanTypeCode}'`],
        ['human_type_name', `'${humanData.humanTypeName}'`],
        ['opt_type', `'I'`],
        ['create_time', 'NOW()'],
        ['update_time', 'NOW()'],
    ];

    const formattedFields = insertFields.map(([key, value]) => {
        return `'${key}',${value}`;
    });

    const law_std_human_type = "ds_tbl:t_fd4a2bceb59e4d4cb143ff7a73d85222";
    const insertSql = `INSERT('${law_std_human_type}', [${formattedFields.join(',')}])`;
    console.log(insertSql);
}

insertHumanType({stdHumanId:'123',humanName:'张三',humanTypeCode:'1',humanTypeName:'1'})


